using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
using System.Configuration;

namespace MES
{
    public partial class DCTConfig : Form
    {
        private static DCTConfig instance = null;

        private DCTConfig()
        {
            InitializeComponent();
        }

        public static DCTConfig createInstance()
        {
            if (instance == null)
            {
                instance = new DCTConfig();
            }
            return instance;           
        }

        private void DCTConfig_Load(object sender, EventArgs e)
        {
            // TODO: This line of code loads data into the 'mFDataSet.MFEX04' table. You can move, or remove it, as needed.
            this.mFEX04TableAdapter.Fill(this.mFDataSet.MFEX04);
            //// TODO: This line of code loads data into the 'mFDataSet.MFEX04' table. You can move, or remove it, as needed.
            //this.mFEX04TableAdapter.Fill(this.mFDataSet.MFEX04);

        }

        private void toolStripButton1_Click(object sender, EventArgs e)
        {
            this.mFEX04TableAdapter.Update(this.mFDataSet.MFEX04);            
        }

        private void dataGridView1_CellLeave(object sender, DataGridViewCellEventArgs e)
        {
           
        }       
    }
}